package OOP.Extends_test03;

public class NotePad extends Computer{
   private String color;
    //设置信息
    public void setColor(String color) {
        this.color = color;
    }

    //打印信息
    @Override
    public String getDetails() {
        return super.getDetails()+"颜色： "+color;
    }
}
